package cc.io24.knewcafe.boss.dao;

import cc.io24.knewcafe.boss.domain.SysUser;
import cc.io24.knewcafe.boss.repository.BaseRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

@RepositoryRestResource(collectionResourceRel = "sysUser", path = "sysUser")
public interface SysUserDao extends BaseRepository<SysUser, String> {

    SysUser findOneByUsernameAndPassword(String username,String password);

}
